import Cookies from 'js-cookie'
const BACKURL = 'backUrl'
const TOKEN = 'token'

export function setBackUrl(backUrl){
    Cookies.set(BACKURL,backUrl)
}
export function getBackUrl() {
    return Cookies.get(BACKURL)
}

//存储token
export function setToken(token) {
    Cookies.set(TOKEN,token)
}

export function getToken() {
    return Cookies.get(TOKEN)
}


